package com.dhecp.project.base.mapper;

import java.util.List;
import java.util.Map;

import com.dhecp.core.genericDao.GenericDao;
import com.dhecp.project.base.domain.LogsticsServer;

/**
 * 物流服务商 DAO
 * @author Jason
 */
public interface LogsticsServerMapper extends GenericDao<LogsticsServer, String>  {

	/**
     * 查询物流服务商
     * @author Jason
     * @date: 2022-09-02 21:40
	 */
	List<LogsticsServer> findLogsticsServer(Map<String, Object> params);

	/**
     * 查询物流服务商
     * @author Jason
     * @date: 2022-09-02 21:40
	 */
	LogsticsServer queryFirstByGuid(Map<String, Object> params);


	LogsticsServer queryFirstByCode(Map<String, Object> params);

	/**
	 * 新增物流服务商
     * @author Jason
     * @date: 2022-09-02 21:40
	 */
	int insertLogsticsServer(LogsticsServer logsticsServer);
	
	/**
	 * 通过guid修改物流服务商
     * @author Jason
     * @date: 2022-09-02 21:40
	 */
	int updateByGuid(LogsticsServer logsticsServer);

	/**
	 * 通过guid删除数据
	 * @param logsticsServer
	 * @return
	 */
	int deleteByGuid(LogsticsServer logsticsServer);

}
